package com.quantdo.demo.date;

import java.util.Arrays;

import com.quantdo.demo.edit.NavigatorEditInput;

public class NavigatorElementFactory {

	public static Object getTreeElements(){
		NavigatorElement root1 = new NavigatorElement("A");
		NavigatorElement root2 = new NavigatorElement("B");
		NavigatorElement root3 = new NavigatorElement("C");
		NavigatorElement level1 = new NavigatorElement("L1");
		NavigatorElement level2 = new NavigatorElement("L2");
		NavigatorElement level3 = new NavigatorElement("L3");
		
		level1.setEditorInput(new NavigatorEditInput());
		level2.setEditorInput(new NavigatorEditInput());
		level3.setEditorInput(new NavigatorEditInput());
		
		root1.addChild(level1);
		root1.addChild(level2);
		root1.addChild(level3);

		root2.addChild(level1);
		
		root3.addChild(level2);
		root3.addChild(level3);
		
		return Arrays.asList(root1, root2, root3);
	}
}
